package org.amphiprion.apiforanywebsite.model.trictrac;

import org.amphiprion.apiforanywebsite.annotation.WebElement;
import org.amphiprion.apiforanywebsite.annotation.WebElement.ValueType;

public class Game {
	@WebElement(cssSelector = "div[class=title] h3 a")
	private String title;

	@WebElement(cssSelector = "div[class=title] h3 a", valueType = ValueType.ATTRIBUTE, attributeName = "href")
	private String link;

	@Override
	public String toString() {
		return title + " | " + link;
	}
}
